/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.jjsoft.celularessuc.gco.util;

/**
 *
 * @author Johnny
 */
import java.awt.*;
import java.awt.print.*;

class ObjetoDeImpresion implements Printable{
public int print(Graphics g, PageFormat f, int pageIndex){
if(pageIndex == 0){
g.drawString("texto que se imprime", 200, 200);
return PAGE_EXISTS;
}else{
return NO_SUCH_PAGE;
}
}
}
